#ifndef _RAY
#define _RAY

#include "Base.h"
#include "Vector.h"

class Ray
{
public:

  Vector o, d;

  Ray(
    const Vector& _o=Vector(0,0,0),
    const Vector& _d=Vector(0,0,-1)
  );
  Ray(const Ray& r);
  
  Vector P(const fp t) const;
};

#endif // _RAY
